package com.zfk.transaction.entity.home;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.ibatis.type.Alias;
import org.springframework.beans.factory.annotation.Value;



/**
 * 首页轮播图
 */

@Alias("t_banner")
@Data
public class BannerInfo {

    @ApiModelProperty("唯一id")
    private int bannerId;

    @ApiModelProperty("图片地址")
    private String image;

    @ApiModelProperty("轮播框中位置")
    private int option;

    @Value(value = "0")
    @ApiModelProperty("首页数据类别")
    private int type;

    @ApiModelProperty("跳转的地址")
    private String url;


}
